import 'package:flutter/material.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    // TODO: implement build
    return MaterialApp(
      title: 'Text Widget',
      home: Scaffold(
        body: Center(
          child: Text(
            "hello world Choreographer(17584): Skipped 83 frames!  The application may be doing too much work on its main thread.",
            textAlign: TextAlign.left,
            maxLines: 3,
            overflow: TextOverflow.ellipsis,  //溢出处理
            style: TextStyle(
              fontSize: 25.0,
              color: Color.fromARGB(255, 255, 111, 111),
              decoration:TextDecoration.underline, //下划线
              decorationStyle: TextDecorationStyle.solid,
            ),
          ),
        ),
      ),
    );
  }
}
